﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using GSLMS.Services.Interface;
using GSLMS.Entity;
using GSLMS.Entity.DTO;
using GSLMS.DAL;
namespace GSLMS.Services
{
	/// <summary>
	/// 此层为服务层，已经继承了父类BaseService,已经定义好方法请查看BaseService类；若需要自定义方法请在此层增加并在数据层及接口层定义相关的方法
	/// </summary>
	public partial class SAPP_PROTARINFO: BaseService<TB_APP_PROTARINFO>, IAPP_PROTARINFO
	{
		private static readonly GSLMS.DAL.Oracle.APP_PROTARINFO dal = new GSLMS.DAL.Oracle.APP_PROTARINFO();
		public override BaseDAL<TB_APP_PROTARINFO> DAL
		{
			get { return dal; }
		}

        /// <summary>
        /// 提取共同借款人列表信息
        /// </summary>
        /// <param name="proinfoID">立项申请记录ID</param>
        /// <returns></returns>
        public List<TB_APP_PROTARINFO> GetAll(long proinfoID)
        {
            return dal.GetAll(proinfoID) ?? new List<TB_APP_PROTARINFO>();
        }
        

	}
}
